Search
FreeFormNode.StandardShapeReplacement Method
See Also
 





Returns a replacement ShapeNode that most closely matches this node's position and outline shape.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

public ShapeNode StandardShapeReplacement (
    Shape[] shapes,
    Shape defaultShape
)

Visual Basic  Copy Code

Public Function StandardShapeReplacement( _
    shapes() As Shape, _
    defaultShape As Shape _
) As ShapeNode

 Parameters

shapes

An array of Shapes against which the free-form outline is matched.

defaultShape

The default shape to assign to the node if there is no match.

 Return Value

A ShapeNode instance.

 See Also